package org.tyq.mail.entity;

import java.io.InputStream;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by tyq on 16/11/2.
 */
public class Mail implements Serializable {

    public static final String ENCODEING = "UTF-8";
    private String head;//标题
    private String sender; // 发件人的邮箱
    private String receiver[]; // 收件人的邮箱
    private String message; // 信息(支持HTML)

    private List<Map<String,InputStream>> fileList;//文件名=文件流


    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String[] getReceiver() {
        return receiver;
    }

    public void setReceiver(String[] receiver) {
        this.receiver = receiver;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public List<Map<String, InputStream>> getFileList() {
        return fileList;
    }

    public void setFileList(List<Map<String, InputStream>> fileList) {
        this.fileList = fileList;
    }
}
